<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<HTML>
	<HEAD>
		<meta http-equiv="Content-Language" content="zh-cn">
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<LINK href="${pageContext.request.contextPath}/css/Style1.css" type="text/css" rel="stylesheet">
	</HEAD>
	
	<body><!-- id="userAction_save_do" --><!--method="post"enctype="multipart/form-data" -->
		
			<input type="hidden" name="oid" value="<s:property value="model.oid"/>" />
			<%-- <input type="hidden" name="image" value="<s:property value="model.image"/>" />
			<input type="hidden" name="pdate" value="<s:property value="model.pdate"/>" /> --%>
			<table  width="60%" align="center" bgColor="#eeeeee"  border="1" >
				<tr>
					<td class="ta_01" align="center" bgColor="#afd1f3" colSpan="4" height="26">
						<strong>订单修改</strong>
					</td>
				</tr>

				<tr>
					<td align="center"  bgColor="#afd1f3" >
						订单收件人：
					</td><!--class="ta_01" bgColor="#ffffff"  -->
					<td  align="center" bgColor="#afd1f3" >
						<input type="text" name="name" value="<s:property value="model.name"/>"  class="bg"/>
					</td>
					
				</tr>
				
				<tr>
			</table>
				<form id="orderForm" action="${pageContext.request.contextPath}/adminOrder_update.action" method="post">
				
				<div class="span24" align="center" bgColor="#eeeeee"  border="1"  >
					<p>		
							订单号 ： <s:property value="model.oid"/> <input type="hidden" name="oid"  value="<s:property value="model.oid"/>" /> <br/>
							原收货地址&nbsp;&nbsp;&nbsp;：<s:property value="model.user.addr"/>
								<input name="addr" type="hidden" value="<s:property value="model.user.addr"/>" style="width:350px" /><br />
							<h3><font color="red" >新地址：</font> </h3>
							<br /> 
							<br /> 
								<select name="province" id = "provinceid" onchange="change(this.value);" >
											<option  value ="0">--请选择--</option>
											<option  value ="江苏">江苏</option>
											<option  value ="山东">山东</option>
											<option  value ="浙江">浙江</option>
											<option  value ="辽宁">辽宁</option>
								</select>省   &nbsp;&nbsp;&nbsp;
								
								<select name="city" id = "cityid" >
								</select>市 &nbsp;&nbsp;&nbsp;
								<input name="town" type="text" />区/镇/区&nbsp;&nbsp;&nbsp;
								<%-- <input name="addr" type="text" value="<s:property value="model.user.addr"/>" style="width:350px" /> --%>
								<br /> 
								<br /> 
							收货人&nbsp;&nbsp;&nbsp;：<input name="name" type="text" value="<s:property value="model.user.name"/>" style="width:150px" />
								<br /> 
								<br /> 
							联系方式：<input name="phone" type="text"value="<s:property value="model.user.phone"/>" style="width:150px" />
							<br /> 

						</p>
					
						<p style="text-align:right">
							<a href="javascript:document.getElementById('orderForm').submit();">
								<img src="${ pageContext.request.contextPath}/images/finalbutton.gif" width="204" height="51" border="0" />
							</a>
						</p>
				</div>
			</form>
				</tr>
				
				<tr>
					<td align="right"  rowspan="2" bgColor="#afd1f3" >
						商品图片：
					</td><!--class="ta_01" bgColor="#ffffff"  -->
					<td  align="left" bgColor="#afd1f3" rowspan="2" >
						<input type="file" name="upload"  />
					</td>
					<td align="right"  bgColor="#afd1f3" >
						是否热门：
					</td><!--class="ta_01" bgColor="#ffffff"  -->
					<td  align="left" bgColor="#afd1f3" >
						<select name="is_hot" >
							<option value="1" <s:if test="model.is_hot == 1" > selected</s:if>  >是</option>
							<option value="0" <s:if test="model.is_hot == 0" > selected</s:if> >否</option>
						</select>
					</td>
				</tr>
				
				<tr>
					
					<td align="right"  bgColor="#afd1f3" >
						商品描述：
					</td><!--class="ta_01" bgColor="#ffffff"  -->
					<td  align="left" bgColor="#afd1f3" >
						<textarea rows="5" cols="25" name="pdesc" ><s:property value="model.pdesc"/></textarea>
					</td>
				</tr>
				
				<tr>
					<td align="right"	bgColor="#afd1f3" >
						<input type="reset"  value="重置" />
						<input type="button" value="返回" onclick="history.go(-1)" />
					</td>
					<td align="center"	bgColor="#afd1f3" colspan="3" >
						<input type="submit"  value="确定"/>
						&nbsp;<!-- <FONT face="宋体">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> -->
					</td>
					
				</tr>
			
	</body>
</HTML>


	<%-- 
						
						<select name="category.cid">
							<s:iterator var="c" value="cList">
								<option value="<s:property value="#c.cid"/>"><s:property value="#c.cname"/></option>
							</s:iterator>
						</select> 
						
						
						--%>